Generating a display list for processing by a rendering unit

ABSTRACT

A display list generation apparatus includes an interpretation unit configured to interpret page description language (PDL) data and store an interpretation result of the PDL data in a first storage unit, a copying unit configured to copy the interpretation result stored in the first storage unit, in a second storage unit, and a generation unit configured to generate a display list from the interpretation result stored in the first storage unit in a case where a data size of the interpretation result exceeds a predetermined threshold and generate a display list from the copy of the interpretation result stored in the second storage unit in a case where the data size of the interpretation result does not exceed the predetermined threshold.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a technique for generating a displaylist.

2. Description of the Related Art

Japanese Patent Application Laid-Open No. 2012-86450 discusses anapparatus for generating from page description language (PDL) dataintermediate data called a display list (DL) that can be processed by arendering unit. In this apparatus, a PDL interpretation unit interpretsPDL data and a DL generation unit generates a DL from a result of theinterpretation. Next, the rendering unit executes a rendering operationon the basis of the generated DL to generate a bitmap image.

Hereinafter, a case as illustrated in FIG. 9 where an interpretationresult storage unit used for sending a PDL data interpretation result toa DL generation unit has a very small storage capacity will beconsidered. For example, an interpretation result storage unit will beconsidered which may have a storage capacity that can only store theinterpretation result of one PDL command included in PDL data.

In this case, it is required that, while the DL generation unit isaccessing the interpretation result storage unit and is generating a DLfrom the interpretation result of a single command, the content of theinterpretation result is not changed. Thus, while the DL generation unitis accessing the interpretation result storage unit, the PDLinterpretation unit does not access the interpretation result storageunit. As a result, while the DL generation unit is accessing theinterpretation result storage unit, the PDL interpretation unit does notaccess this interpretation result storage unit. More specifically, thePDL interpretation unit cannot overwrite the current interpretationresult with an interpretation result of the next PDL command in theinterpretation result storage unit. Namely, since the PDL interpretationunit and the DL generation unit execute the processing insynchronization with each other, delay in the processing by the DLgeneration unit directly results in delay in the processing by the PDLinterpretation unit.

SUMMARY OF THE INVENTION

A display list generation apparatus includes an interpretation unitconfigured to interpret page description language (PDL) data and storean interpretation result of the PDL data in a first storage unit, acopying unit configured to copy the interpretation result stored in thefirst storage unit, in a second storage unit, and a generation unitconfigured to generate a display list from the interpretation resultstored in the first storage unit in a case where a data size of theinterpretation result exceeds a predetermined threshold and generate adisplay list from the copy of the interpretation result stored in thesecond storage unit in a case where the data size of the interpretationresult does not exceed the predetermined threshold.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a hardware configuration of aprinter controller.

FIGS. 2A, 2B, and 2C illustrate a PDL command, an interpretation result,and a DL, respectively.

FIG. 3 is a flowchart illustrating PDL data interpretation processingaccording to a first exemplary embodiment.

FIG. 4 is a flowchart illustrating DL generation processing.

FIG. 5 illustrates interpretation result copy processing.

FIG. 6 is a flowchart illustrating PDL data interpretation processingaccording to a second exemplary embodiment.

FIG. 7 is a flowchart illustrating processing for determining whether toexecute interpretation result copy processing.

FIGS. 8A and 8B illustrate operations of a printer controller accordingto a second exemplary embodiment.

FIG. 9 illustrates processing for generating a DL from PDL data.

DESCRIPTION OF THE EMBODIMENTS

Various exemplary embodiments, features, and aspects of the inventionwill be described in detail below with reference to the drawings.

Next, exemplary embodiments of the present invention will be describedwith reference to the drawings.

<Configuration of Printer Controller>

FIG. 1 illustrates a hardware configuration of a printer controller in aprinting apparatus according to a first exemplary embodiment. In thisprinter controller, an interpretation result storage unit 130 isconnected to a buffer 143 and stores a copy of a PDL data interpretationresult stored by a PDL interpretation unit 120 in the buffer 143. Withthis configuration, even when a DL generation unit 150 is generating aDL from the copy of the interpretation result stored in the buffer 143,the PDL interpretation unit 120 can store a PDL data interpretationresult in the interpretation result storage unit 130. Next, thisoperation will be described in detail.

The printing apparatus may be a single function printer (SFP) or a multifunction peripheral (MFP). First, processing of this printer controllerwill be summarized. The printer controller according to the presentexemplary embodiment can also serve as a display list generationapparatus, as will become apparent below.

Each block illustrated in FIG. 1 represents hardware of a unit and eachline that connects blocks represents a signal line connecting each unit.Each unit exchanges information with other units via these signal lines.

The PDL interpretation unit 120 receives PDL data in a plurality oftypes of PDL formats (for example, Printer Command Language (PCL)(registered trademark) or PostScript (registered trademark)) from anexternal apparatus via a network interface I/F (not illustrated). ThePDL interpretation unit 120 executes processing of a flowchartillustrated in FIG. 3. Namely, the PDL interpretation unit 120 caninterprets PDL data in a plurality of PDL formats.

The interpretation result storage unit 130 includes a volatile memoryhaving a storage area for storing an interpretation result of a command(PDL command) included in PDL data interpreted by the PDL interpretationunit 120. The interpretation result storage unit 130 copies thisinterpretation result in the buffer 143. The storage capacity of theinterpretation result storage unit 130 according to the presentexemplary embodiment corresponds to the maximum value (fixed size) ofthe amount of the interpretation result of a single PDL command. Thisinterpretation result storage unit 130 stores the interpretation resultof a single PDL command, not the interpretation results of two or morePDL commands.

The buffer 143 includes a volatile memory having a storage area forstoring a copy of the interpretation result stored in the interpretationresult storage unit 130. The buffer 143 according to the presentexemplary embodiment is a ring buffer. The storage capacity of thebuffer 143 has a fixed size larger than that of the interpretationresult storage unit 130.

The DL generation unit 150 executes processing of a flowchartillustrated in FIG. 4.

When a rendering unit 170 is instructed to start rendering processing bythe PDL interpretation unit 120 and is notified of completion ofgeneration of a display list (DL) of one page by the DL generation unit150, the rendering unit 170 receives the DL of one page from the DLgeneration unit 150. Next, the rendering unit 170 generates a bitmapimage from the DL. Processing for generating a bitmap image from a DL isreferred to as rendering processing.

The bitmap image generated by the rendering processing is transmitted toa printer engine (not illustrated) included in the printing apparatusaccording to the present exemplary embodiment and is printed on a sheetrecording medium such as paper by the printer engine. Subsequently, theprinted recording medium is discharged as a print product to the outsideof the printing apparatus. As this printer engine, an arbitrary type ofprinter engine may be used such as an electrophotographic printer engineor an ink-jet printer engine.

<PDL Command, Interpretation Result, DL>

Generally, the PDL data includes a plurality of PDL commands. The PDLcommand is a command specifying the end of a print job, a commandspecifying a page break, or a command (rendering command) specifyingrendering of an object.

FIGS. 2A to 2C conceptually illustrate a PDL command (a renderingcommand), an interpretation result of the PDL command, and a DLgenerated by the interpretation result, respectively. In FIG. 2A, arendering command for a Bezier curve is illustrated. Differences amongthese PDL command, interpretation result, and DL will be described withreference to the examples in FIGS. 2A to 2C.

The PDL command (rendering command) for rendering a Bezier curveindicated by a dashed line in FIG. 2A specifies four control points (P0,P1, P2, P3) of the Bezier curve, a line width (w) of the Bezier curve,and a line color of the Bezier curve. Different rendering commandformats of different PDL types (for example, PCL (registered trademark)or PostScript (registered trademark)), can be used to obtain the samerendering result.

The PDL interpretation unit 120 interprets this rendering command andapproximately represents the Bezier curve indicated by the dashed lineby using a plurality of lines. Each of these lines is defined bycoordinates of both ends thereof. For example, as illustrated in FIG.2B, line Q0-Q1 is a line that connects point Q0 represented bycoordinates (x0, y0) and point Q1 represented by coordinates (x1, y1)and that has the line width (w).

In addition, data (interpretation result) representing these lines isstored in the interpretation result storage unit 130. Connected linesare linked to each other by pointers and have a link configuration. Forexample, the data representing line Q0-Q1 stored in the interpretationresult storage unit 130 has a pointer indicating a memory address in theinterpretation result storage unit 130 in which data representing lineQ1-Q2 is stored. Each data representing a corresponding line hasinformation representing the width of and the color of the line (colorof the Bezier curve). This interpretation result is data in uniqueformat that does not depend on a PDL type in a case where the samerendering result can be obtained.

The DL generation unit 150 generates a DL from an interpretation result,which is data representing a plurality of lines having a line width. Inthis example, the DL is formed by logical line objects, each of which isassociated with a color and does not have a line width. In this example,more specifically, a single line in an interpretation result that ispainted in a line color and that has a line width is locally a rectanglethat is painted in a line color. In this DL, each of the four sidesforming the contour of the rectangle is treated as a single object. Forexample, in the DL illustrated in FIG. 2C, line R0-R1, which is the leftside of line Q0-Q1 having line width w in the interpretation result, istreated as a single object with which a line color is associated andthat does not have a line width. This single object in the DL is definedby the start point of the line, the height (length) in y direction ofthe line, the slope of the line, and the color associated with the line.For example, in the case of line R0-R1, information representing startpoint R1 of the line, height L0 in y direction, slope s0 of the line,and the color of the line (color of the Bezier curve) is included in theDL.

Thus, a DL is intermediate data in a format in which an object (forexample, a Bezier curve) specified by a single rendering command (forexample, a rendering command for the Bezier curve) is represented by oneor more simple objects each of which is a unit that can be processed bythe rendering unit 170.

By rendering objects (for example, lines) included in this DL, therendering unit 170 generates a bitmap image of the single object (forexample, the Bezier curve) specified by the rendering command. Forexample, this bitmap image is an image formed by painting the inside ofthe contour indicated by the DL in FIG. 2C in the color of the Beziercurve.

As described above, first, an interpretation result is generated from aPDL command, and next, a DL is generated from the interpretation result.Finally, a bitmap image is generated from the DL. The interpretationresult generated from the PDL command is data in a common format thatdoes not depend on the type of PDL data (for example, PCL (registeredtrademark), PostScript (registered trademark), etc.). Since common dataformat is used, the DL generation unit 150 can easily generate a DL evenif different types of PDL command are used. To generate such commonformat data from a PDL command, the PDL interpretation unit 120 includesa plurality of circuits corresponding to PDL data types.

<Operation of Printer Controller>

Next, operations of the printer controller according to the firstexemplary embodiment will be described with reference the flowcharts inFIGS. 3 and 4.

<Interpretation of PDL Data>

FIG. 3 is a flowchart of PDL data interpretation processing executed bythe PDL interpretation unit 120 and the interpretation result storageunit 130.

In step S201, the PDL interpretation unit 120 receives PDL dataincluding a plurality of PDL commands from the outside via the networkI/F.

Next, in step S202, the PDL interpretation unit 120 interprets a singlePDL command included in the PDL data received in step S201. Namely, thePDL interpretation unit 120 interprets the PDL data per PDL command.

Next, in step S203, the PDL interpretation unit 120 determines whetherthe PDL command interpreted in step S202 specifies the end of a printjob. If the PDL command specifies the end of a job (YES in step S203),the PDL interpretation unit 120 ends the operation.

If the PDL command does not specify the end of a job (NO in step S203),the operation proceeds to step S204. In step S204, the PDLinterpretation unit 120 determines whether the PDL command interpretedin step S202 specifies a page break (end).

If the PDL command specifies a page break (YES in step S204), the PDLinterpretation unit 120 notifies the DL generation unit 150 that asingle page of PDL command has been interpreted (page end notification),via the signal line connecting the PDL interpretation unit 120 and theDL generation unit 150 in FIG. 1. In addition, in step S205, the PDLinterpretation unit 120 instructs the rendering unit 170 to startrendering processing after the DL generation unit 150 completes DLgeneration processing, via the signal line connecting the PDLinterpretation unit 120 and the rendering unit 170 in FIG. 1. As aresult, the rendering unit 170 generates a bitmap image from thegenerated one page of DL. Next, the operation returns to step S202, andthe PDL interpretation unit 120 starts interpreting the next PDL commandincluded in the PDL data.

If the PDL command is not a command specifying a page break but is arendering command (NO in step S204), the operation proceeds to stepS206. In step S206, the PDL interpretation unit 120 stores theinterpretation result of the rendering command in the interpretationresult storage unit 130. In this step, the PDL interpretation unit 120accesses a certain memory address in the memory space in theinterpretation result storage unit 130 and sequentially overwrites anold interpretation result with the interpretation result of therendering command. In this way, the PDL interpretation unit 120 storesthe interpretation result in the interpretation result storage unit 130.

Next, in step S207, the PDL interpretation unit 120 suspends (stops) theinterpretation of the PDL data.

Next, in step S210, the PDL interpretation unit 120 causes theinterpretation result storage unit 130 to copy the interpretation resultstored therein and to store the copy in the buffer 143. The copyprocessing by the interpretation result storage unit 130 will bedescribed below with reference to FIG. 5. When the above copying iscompleted, the interpretation result storage unit 130 notifies the DLgeneration unit 150 that the interpretation result has been copied, viathe signal line connecting the interpretation result storage unit 130and the DL generation unit 150 in FIG. 1. In addition, theinterpretation result storage unit 130 sends an instruction to resumethe interpretation of the PDL data to the PDL interpretation unit 120,via the signal line connecting the interpretation result storage unit130 and the PDL interpretation unit 120 in FIG. 1.

In step S211, the PDL interpretation unit 120 receives the instructionfor resumption of the interpretation of the PDL data from theinterpretation result storage unit 130 and resumes the interpretation ofthe PDL data. Next, the operation returns to step S202, and the PDLinterpretation unit 120 starts interpretation of the next PDL command.

In parallel with the above processing flow, the DL generation unit 150asynchronously generates a DL from the copy of the interpretation resultstored in the buffer 143.

<Copy of Interpretation Result>

As illustrated in FIG. 5, if an interpretation result includes anaddress indication pointer, the processing for copying theinterpretation result of the rendering command includes processing forchanging a memory address indicated by the pointer. Such processing forchanging a memory address requires time. Next, the processing forchanging the memory address will be described.

There are cases where the data structure of an interpretation resultstored in the interpretation result storage unit 130 is a link structureincluding pointers for indicating addresses in the data. For example, asin the Bezier curve in FIG. 2, a case will be considered where aninterpretation result is data representing a plurality of lines, anddata representing each line includes a pointer indicating a memoryaddress of data representing another line. When attention is confined todata 1 and data 2 representing two respective lines, for example, asillustrated in FIG. 5, in order to refer to data 2, data 1 has a pointerP indicating memory address A1 of data 2 in the memory space in theinterpretation result storage unit 130.

If an interpretation result has such data structure, the followingprocessing is executed in the interpretation result copy processing. Avalue of data 1 and a value of data 2 are copied in the memory space inthe buffer 143, and the memory address indicated by the pointer of data1 is changed to memory address A2 of data 2 in the memory space in thebuffer 143. A longer link structure causes larger load on the copyprocessing. Namely, more time is required for the copy processing. Forexample, many rendering commands for curves have such data structuresrequiring more time for the copy processing. Since the interpretationresult of a rendering command for a curve results in a plurality ofsimple lines, processing for generating a DL from each line requiresonly small load. Thus, the DL generation processing does not requiremuch time.

Next, the DL generation processing to be executed asynchronously will bedescribed.

<Generation of DL>

FIG. 4 is a flowchart of DL generation processing by the DL generationunit 150.

When the DL generation unit 150 receives a notification from the PDLinterpretation unit 120 in step S205 or from the interpretation resultstorage unit 130 in step S210, in step S301, the DL generation unit 150determines whether an interpretation result that has not been processedby the DL generation unit 150 is stored in the buffer 143.

If an unprocessed interpretation result is stored (YES in step S301),the operation proceeds to step S302. In step S302, if a plurality ofunprocessed interpretation results is stored, the DL generation unit 150generates DLs one by one from the unprocessed interpretation resultsstored in the buffer 143 in the order that the interpretation resultswere stored in the buffer 143. The DL generation unit 150 stores the DLsone by one in the order that the DLs have been generated in a DL storageunit (not illustrated). The DL generation unit 150 receives the nextunprocessed interpretation result after generating a DL from a singleunprocessed interpretation result.

After generating a DL from a single interpretation result, in step S303,the DL generation unit 150 deletes the interpretation result from thebuffer 143.

These steps S301 to S303 are repeated until all the unprocessedinterpretation results are deleted from the buffer 143. If nounprocessed interpretation result is stored in the buffer 143 (NO instep S301), the operation proceeds to step S304. In step S304, the DLgeneration unit 150 determines whether the DL generation unit 150 hasreceived a notification from the PDL interpretation unit 120 in stepS205 (page end notification). If the DL generation unit 150 has notreceived the page end notification (NO in step S304), according to thepresent exemplary embodiment, it is assumed that the DL generation unit150 has received a notification of completion of copying theinterpretation result in step S205. Thus, the DL generation unit 150ends the operation. If the DL generation unit 150 determines thereception of the page end notification (YES in step S304), the operationproceeds to step S305. In step S305, the DL generation unit 150 notifiesthe rendering unit 170 of completion of generation of one page of DL andsequentially transmits one page of DL stored in the DL storage unit (notillustrated) to the rendering unit 170.

As described above, the printer controller according to the firstexemplary embodiment causes the PDL interpretation unit 120 to analyzePDL commands one by one included in PDL data and to store aninterpretation result per command in the interpretation result storageunit 130. When an interpretation result corresponding to a singlecommand is stored in the interpretation result storage unit 130, theinterpretation result is copied and stored in the buffer 143. Next, thePDL interpretation unit 120 analyzes the next PDL command, and inparallel to this operation, the DL generation unit 150 generates a DLfrom the copy of the interpretation result stored in the buffer 143.Namely, the PDL data interpretation processing by the PDL interpretationunit 120 and the DL generation processing by the DL generation unit 150are executed independently and asynchronously.

As described above, the printer controller according to the presentexemplary embodiment copies an interpretation result in a buffer. Inthis way, since delay in the DL generation processing does not delay thePDL data interpretation processing, the PDL data interpretationprocessing can be executed efficiently.

In the printer controller according to the first exemplary embodiment, acopy of a PDL command interpretation result is stored in the buffer 143.However, in a printer controller according to a second exemplaryembodiment, whether to make a copy of a PDL command interpretationresult in the buffer 143 is determined and a copy of the interpretationresult is made on the basis of the determination. Reasons why theseoperations are executed will be described below.

When an interpretation result includes an address indication pointer,processing for copying a PDL command interpretation result, particularlya rendering command interpretation result, includes processing forchanging the memory address indicated by the pointer. This memoryaddress change processing requires time as described with reference toFIG. 5. Such data configuration requires much time for copy processing,and as a result, an overall processing efficiency may be deteriorated.Thus, if such data structure is present, copy processing can be omitted.

In contrast to these rendering commands, for example, an interpretationresult of a font rendering command is an index number specifying a fontglyph (shape). Thus, since no pointer needs to be changed, processingfor copying the interpretation result requires small load. However, whena DL is generated from the interpretation result, since processing forextracting the contour of the glyph (the contour of the object) isexecuted, processing for generating a DL from the interpretation resultrequires large load.

For the reason described above, the printer controller according to thepresent exemplary embodiment determines whether to execute theinterpretation result copy processing on the basis of the amount of theload required for the copy processing.

<Configuration of Printer Controller According to Second ExemplaryEmbodiment>

The printer controller according to the present exemplary embodimentdiffers from the printer controller according to the first exemplaryembodiment in that the PDL interpretation unit 120 determines whether tocopy a PDL data interpretation result, and in that the interpretationresult is copied in accordance with the determination.

The PDL interpretation unit 120 according to the present exemplaryembodiment executes processing of a flowchart illustrated in FIG. 6.

Other units are the same as those according to the first exemplaryembodiment, unless otherwise described.

<Operation of Printer Controller>

An operation of the printer controller according to the second exemplaryembodiment, particularly an operation of the PDL interpretation unit120, will be described with reference to the flowchart in FIG. 6.

<Interpretation of PDL Data>

FIG. 6 is a flowchart illustrating PDL data interpretation processingexecuted by the PDL interpretation unit 120 and the interpretationresult storage unit 130.

Steps S601 to S607 are the same as steps S201 to S207.

In step S608, the interpretation result storage unit 130 determineswhether to copy the interpretation result stored in the interpretationresult storage unit 130 in the buffer 143. The determination method willbe described below with reference to FIG. 7.

In step S608, if the interpretation result storage unit 130 determinesthat the interpretation result storage unit 130 does not copy theinterpretation result (NO in step S608), the interpretation resultstorage unit 130 causes the DL generation unit 150 to execute theflowchart illustrated in FIG. 4. In step S609, the interpretation resultstorage unit 130 causes the DL generation unit 150 to generate a DL fromthe interpretation result stored in the interpretation result storageunit 130. More specifically, the interpretation result storage unit 130executes the following processing.

The interpretation result storage unit 130 determines whether all theinterpretation results stored in the buffer 143 have been processed bythe DL generation unit 150 on the basis of the number of interpretationresults stored in the buffer 143. Namely, if no interpretation result isstored in the buffer 143, the interpretation result storage unit 130determines that the DL generation unit 150 has processed all theinterpretation results stored in the buffer 143. The interpretationresult storage unit 130 determines whether there is no unprocessedinterpretation result in the buffer 143 at predetermined time intervals.If the interpretation result storage unit 130 determines that all theinterpretation results stored in the buffer 143 have been processed, theinterpretation result storage unit 130 causes the DL generation unit 150to generate a DL from the interpretation result stored in theinterpretation result storage unit 130. The interpretation resultstorage unit 130 notifies this DL generation instruction of the DLgeneration unit 150 via the signal line connecting the interpretationresult storage unit 130 and the DL generation unit 150 in FIG. 1.Accordingly, the DL generation unit 150 generates a DL from theinterpretation result stored in the interpretation result storage unit130. When completing the generation of a DL, the DL generation unit 150notifies the interpretation result storage unit 130 of completion ofgeneration of the DL. Next, when notified of completion of generation ofthe DL by the DL generation unit 150, the interpretation result storageunit 130 sends an instruction to resume the interpretation of the PDLdata, to the PDL interpretation unit 120.

Next, the operation proceeds to step S611. Since the interpretationresult in the interpretation result storage unit 130 according to thepresent exemplary embodiment is directly accessed by the DL generationunit 150, the interpretation result storage unit 130 can be consideredas a storage unit shared by the PDL interpretation unit 120 and the DLgeneration unit 150.

In step S608, if the interpretation result storage unit 130 determinesto copy the interpretation result, the operation proceeds to step S610.In step S610, the PDL interpretation unit 120 causes the interpretationresult storage unit 130 to copy the interpretation result stored in theinterpretation result storage unit 130 and to store the copy in thebuffer 143. The copy processing is the same as that described above withreference to FIG. 5. This copy processing executed by the interpretationresult storage unit 130 will be described below with reference to FIG.5. After making the copy, the interpretation result storage unit 130notifies the DL generation unit 150 of completion of copying theinterpretation result via the signal line connecting the interpretationresult storage unit 130 and the DL generation unit 150 in FIG. 1. Inaddition, the interpretation result storage unit 130 sends aninstruction to resume the interpretation of the PDL data, to the PDLinterpretation unit 120 via the signal line connecting theinterpretation result storage unit 130 and the PDL interpretation unit120 FIG. 1. Next, the operation proceeds to step S611.

In step S611, the PDL interpretation unit 120 receives the instructionto resume the interpretation of the PDL data from the interpretationresult storage unit 130 and resumes the interpretation of the PDL data.Next, the operation returns to step S202, and the PDL interpretationunit 120 starts interpreting the next PDL command.

<Determination of Whether to Copy PDL Interpretation Result in Buffer143>

Determination processing in step S608 executed by the interpretationresult storage unit 130 will be described with reference to flowchartsin FIGS. 7 and 8.

First, the purpose of the determination processing will be describedwith reference to FIG. 8.

FIG. 8A illustrates an operation of determining whether to copy aninterpretation result stored in the interpretation result storage unit130 when the buffer 143 stores no unprocessed interpretation result.

The operation in FIG. 8A uses processing load Tc required for processingof the DL generation unit 150 to generate a DL directly from theinterpretation result stored in the interpretation result storage unit130. In addition, the operation uses processing load Td required forprocessing for copying the interpretation result stored in theinterpretation result storage unit 130 in the buffer 143. Largerprocessing load requires more processing time. As illustrated in FIG.8A, if no unprocessed interpretation result is stored in the buffer 143,there are two choices for how the interpretation result stored in theinterpretation result storage unit 130 is processed. In one choice, theinterpretation result stored in the interpretation result storage unit130 is copied in the buffer 143 (copy processing). In the other choice,instead of copying the interpretation result stored in theinterpretation result storage unit 130 in the buffer 143, a DL isdirectly generated from the interpretation result (DL generationprocessing). Since it is desirable that the PDL interpretation unit 120interpret the next PDL command as soon as possible, the user may selectthe copy processing or the DL generation processing that can becompleted sooner than another processing. Thus, in the case of FIG. 8A,the processing load Tc and the processing load Td are compared with eachother, and the processing requiring the smaller processing load isexecuted.

In contrast, FIG. 8B illustrates an operation of determining whether tocopy an interpretation result stored in the interpretation resultstorage unit 130 when the buffer 143 stores unprocessed interpretationresults.

Processing load Td illustrated in FIG. 8B is the same as thatillustrated in FIG. 8A. The operation in FIG. 8B uses processing load Trrequired for generating DLs from all the unprocessed interpretationresults stored in the buffer 143, as will be described below with FIG.7. Larger processing load requires more processing time. As illustratedin FIG. 8B, if the buffer 143 stores unprocessed interpretation results,there are two choices for how the interpretation results stored in theinterpretation result storage unit 130 are processed. In one choice, theinterpretation results stored in the interpretation result storage unit130 are copied in the buffer 143 (copy processing). In the other choice,after DLs are generated from the unprocessed interpretation resultsstored in the buffer 143, a DL is directly generated from theinterpretation result stored in the interpretation result storage unit130, instead of copying the interpretation result in the buffer 143 (DLgeneration processing). When unprocessed interpretation results arestored in the buffer 143, delay is caused in the DL generationprocessing. Thus, it is desirable that this delay be eliminated as soonas possible. Thus, the user may select the copy processing or the DLgeneration processing that can be completed sooner than anotherprocessing needs to be selected. Thus, in the case of FIG. 8B, theprocessing load Tr and the processing load Td are compared with eachother, and the processing requiring the smaller processing load isexecuted.

The determination processing based on the processing load will bedescribed with reference to a flowchart in FIG. 7.

First, in step S401, the interpretation result storage unit 130estimates load (processing cost) required for copying an interpretationresult stored in the interpretation result storage unit 130 on the basisof the interpretation result. For example, the interpretation resultstorage unit 130 calculates the load as a numerical value on the basisof a data size of the interpretation result stored in the interpretationresult storage unit 130 or a load coefficient (value) set for each typeof rendering command or each type of rendering object created on thebasis of the interpretation result. Larger load tends to require moretime for copying the interpretation result in the buffer 143. Thus, inother words, the interpretation result storage unit 130 indirectlyestimates the processing time.

Generally, if the interpretation result has a larger data size, largerload is required for the copy processing. However, the load of the copyprocessing can also be increased by other factors. More specifically,for example, many rendering commands specifying Bezier curves such asthe one illustrated in FIG. 2 are used to render a curve having a smallcurvature. In such cases, the interpretation result has a linkstructure. Thus, a larger load coefficient is set for a renderingcommand specifying a Bezier curve than a load coefficient for a straightline rendering command according to which an interpretation result thatdoes not have a link structure is generated. In contrast, a relativelysmall load coefficient is set for a rendering command resulting incopying of a simple interpretation result, such as copying an indexnumber specifying the glyph of a font rendering command.

Next, in step S402, the interpretation result storage unit 130 checks anumber of interpretation results stored in the buffer 143 that have notbeen processed by the DL generation unit 150.

If no unprocessed interpretation result is stored, namely, if the numberdetermined in step S402 is 0 (YES in step S402), the operation proceedsto step S403. In step S403, the interpretation result storage unit 130estimates the load required by the DL generation unit 150 in generatinga DL by processing the interpretation result stored in theinterpretation result storage unit 130. Namely, the interpretationresult storage unit 130 calculates a processing cost required when theDL generation unit 150 generates a DL from this interpretation resultinstead of from a copy of this interpretation result. For example, theinterpretation result storage unit 130 calculates the load as anumerical value on the basis of a (value) different from the loadcalculated in step S401. The different load coefficient is predeterminedaccording to the data size of the interpretation result stored in thebuffer 143, or according to each type of rendering object created on thebasis of the interpretation result. More specifically, in the case of arendering command for a curve having a small curvature or a renderingcommand for a dashed line or shading, a relatively short time isrequired to generate a DL. A smaller load coefficient (value) is set forsuch a rendering command than those for other rendering commands. Incontrast, a larger load coefficient (value) is set for a renderingcommand requiring a relatively long time to generate a DL from aninterpretation result such as a font rendering command than those forother rendering commands.

Next, in step S404, the interpretation result storage unit 130 comparesthe load estimated in S401 and the load estimated in S403. On the basisof this comparison, the interpretation result storage unit 130determines which one of the two types of processing causes the largerdelay. In this case, the delay corresponding to one type is the delaycaused by the copying load estimated in step S401. Namely, the delay iscaused by suspension of the interpretation of the PDL data between startof copying the interpretation result in the buffer 143 and completion ofthe copying. The delay corresponding to the other type is the delaycaused by the processing load estimated in step S403, namely, the delaycaused by suspension of the interpretation of the PDL data while the DLgeneration unit 150 is generating a DL by accessing the interpretationresult storage unit 130. Namely, the interpretation result storage unit130 determines which takes more time before resumption of theinterpretation of the PDL data, i.e., copying or not copying theinterpretation result.

If the load estimated in step S401 is larger than the load estimated instep S403, namely, if the load for copying the interpretation result islarger (YES in step S404), the operation proceeds to step S405. In stepS405, the interpretation result storage unit 130 determines not to copythe interpretation result.

If the load estimated in step S401 is equal to the load estimated instep S403 or less, namely, if the load for copying the interpretationresult is smaller (NO in step S404), the operation proceeds to stepS407. In step S407, the interpretation result storage unit 130determines to copy the interpretation result.

In step S402, if unprocessed interpretation results are still stored,the operation proceeds to step S406. In step S406, the interpretationresult storage unit 130 estimates the load required by the DL generationunit 150 to process all the unprocessed interpretation results. Namely,the interpretation result storage unit 130 calculates a processing costrequired for generating DLs from the unprocessed interpretation resultsthat have already been copied in the buffer 143. For example, theinterpretation result storage unit 130 estimates a processing load valuefor each unprocessed interpretation result in the same method as thatused in step S403 and calculates the sum of the estimated values. Inaddition, from the above calculated sum, the interpretation resultstorage unit 130 subtracts a value of processing load processed by theDL generation unit 150 between when the DL generation unit 150 receivesa copy of an interpretation result stored in the buffer 143 and when theinterpretation result storage unit 130 calculates the processing load instep S406. Next, in step S404, the interpretation result storage unit130 compares the load estimated in step S401 and the load estimated instep S406 to determine whether to copy the interpretation result.

On the basis of the comparison, the interpretation result storage unit130 determines which one of the two types of processing causes thelarger delay. In this case, the delay corresponding to one type is thedelay caused by the copying load estimated in step S401. Namely, thedelay is caused in a period after the DL generation unit 150 copies theinterpretation result in the buffer 143 until a DL is generated from theinterpretation result stored in the buffer 143. The delay correspondingto the other type is the delay caused by the processing load estimatedin step S406. Namely, the delay is caused in a period after when the DLgeneration unit 150 generates DLs from the unprocessed interpretationresults by accessing the buffer 143 and until a DL is generated from theinterpretation result stored in the interpretation result storage unit130. Namely, the interpretation result storage unit 130 determines whichtakes more time, i.e., copying or not copying the interpretation resultto generate a DL from the interpretation result?.

<Mathematical Expression for Estimating Load>

For example, the following mathematical expression can be used tocalculate the load Td in step S401.Td=Kd·S+Cd(obj)This mathematical expression includes coefficient Kd that depends on ahardware processing capability of the interpretation result storage unit130. The higher hardware processing capability the interpretation resultstorage unit 130 has, the smaller coefficient is set. In addition, themathematical expression includes data size S of the interpretationresult to be copied. In addition, the mathematical expression includes aconstant value Cd(obj) that is defined for each obj indicating arendering object type and that depends on a hardware processingcapability of the interpretation result storage unit 130. The higherhardware processing capability the interpretation result storage unit130 has, the smaller constant value is set.

In addition, for example, the following mathematical expression can beused to calculate the load Tc in step S403.Tc=Kc(obj)·S+Cc(obj)This mathematical expression includes coefficient Kc(obj) that isdefined for each obj indicating a rendering object type and that dependson a hardware processing capability of the DL generation unit 150. Thehigher hardware processing capability the DL generation unit 150 has,the smaller coefficient is set. In addition, the mathematical expressionincludes data size S of the interpretation result to be processed. Inaddition, the mathematical expression includes constant value Cc(obj)that is defined for each obj indicating a rendering object type and thatdepends on a hardware processing capability of the DL generation unit150. The higher processing capability the DL generation unit 150 has,the smaller coefficient is set. Next, the reason for definingcoefficient Kc for each rendering will be described. For example, if therendering object is image data, the data size S thereof tends to belarger than that of a rendering object of a different type. However, theload (time) required by the DL generation unit 150 to process image datais relatively small compared with that required for a rendering objectof a different type. Thus, the load Tc can be estimated more accuratelyif a coefficient is defined which is multiplied by the data size of therendering object to be processed for each rendering object.

In addition, for example, the following mathematical expression can beused to the calculate load Tr in step S406.Tr=ΣTc−TfThis mathematical expression includes the sum ΣTc of the above load Tcof the unprocessed interpretation results copied in the buffer 143. Inaddition, the mathematical expression includes time Tf that is a periodfrom when the DL generation unit 150 starts processing an interpretationresult being processed until when step S406 is executed.

Namely, on the basis of information used for determining whether to copythe data (interpretation result) stored in the interpretation resultstorage unit 130 in the buffer 143, the interpretation result storageunit 130 determines whether to copy the data in the buffer 143. In thisexample, the information is the calculated values of the load amountsrequired for the respective types of processing.

As described above, from the interpretation result stored in theinterpretation result storage unit 130, the interpretation resultstorage unit 130 estimates the load required for the copy processingexecuted by the interpretation result storage unit 130 and the loadrequired for the DL generation processing executed by the DL generationunit 150. Thus, the load based on the type of the object to be renderedcan be estimated accurately. In addition, if no unprocessedinterpretation result is stored in the buffer 143, the interpretationresult storage unit 130 can determine whether to copy the interpretationresult to start interpretation of the next PDL data as soon as possible.

In addition, according to the present exemplary embodiment, each loadTd, Tc, and Tr is defined by a single expression, irrespective of thetype of the object to be rendered. However, for example, an expressionfor estimating each load may be defined per rendering object type.

The estimated load Td corresponds to the time required for copying theinterpretation result stored in the interpretation result storage unit130 in the buffer 143. In other words, the load Td estimated when nounprocessed interpretation result is stored in the buffer 143corresponds to the delay time caused by execution of the copy processinguntil the next PDL command in the PDL data is interpreted.

The load Tc estimated when no unprocessed interpretation result isstored in the buffer 143 corresponds to the time required for generatinga DL directly from the interpretation result stored in theinterpretation result storage unit 130. In other words, the load Tccorresponds to the delay time caused by directly executing the DLgeneration processing until the interpretation of the next PDL commandin the PDL data is resumed.

If no unprocessed interpretation result is stored in the buffer 143, theload Td and the load Tc corresponding to these two types of delay timeare compared with each other, and the processing causing the less delayis selected. Thus, when no unprocessed interpretation result is storedin the buffer 143, the PDL interpretation unit 120 can quickly resumethe PDL data interpretation processing.

The load Td estimated when unprocessed interpretation results are stillstored in the buffer 143 corresponds to the shortest delay time causedby execution of the copy processing at least until generation of a DLfrom an interpretation result copied in the buffer 143 is started.

In addition the load Tr estimated when unprocessed interpretationresults are still stored in the buffer 143 corresponds to the timerequired until generation of a DL from an unprocessed interpretationresult stored in the buffer 143 is completed. In other words, the loadTr corresponds to the delay time caused until generation of a DLdirectly from the interpretation result stored in the interpretationresult storage unit 130 is started.

If unprocessed interpretation results are stored in the buffer 143, theload Td and the load Tr corresponding to these two types of delay timeare compared with each other, and the processing requiring less delay isselected. Thus, when unprocessed interpretation results are stored inthe buffer 143, the DL generation unit 150 can quickly start the DLgeneration processing. The sooner the generation of a DL is started, thesooner the generation of the DL is completed. Namely, the DL generationunit 150 can quickly complete generation of the DL.

In the above present exemplary embodiment, the interpretation resultstorage unit 130 determines whether to execute the interpretation resultcopy processing by calculating and comparing the processing load Td, Tc,and Tr. However, the determination may be made on the basis of anothermethod.

For example, the determination may be made only on the basis of theprocessing cost (load Td) required for the interpretation result copyprocessing. In such a case, if the load Td exceeds a predeterminedthreshold, the PDL interpretation unit 120 controls the interpretationresult storage unit 130 not to execute the copy processing and the DLgeneration unit 150 to generate a DL. In contrast, if the load Td is thepredetermined threshold or less, the PDL interpretation unit 120controls the interpretation result storage unit 130 to execute the copyprocessing and the DL generation unit 150 to generate a DL.

Alternatively, for example, the determination may be made only on thebasis of the processing cost (load Tc) required for generating a DL froman interpretation result. In such a case, if the load Tc exceeds apredetermined threshold, the PDL interpretation unit 120 controls theinterpretation result storage unit 130 to execute the copy processingand the DL generation unit 150 to generate a DL. In contrast, if theload Tc is the predetermined threshold or less, the PDL interpretationunit 120 controls the interpretation result storage unit 130 not toexecute the copy processing and the DL generation unit 150 to generate aDL.

Alternatively, for example, the determination may be made only on thebasis of the processing cost (load Tr) required for generating a DL froman unprocessed interpretation result stored in the buffer 143. In such acase, if the load Tr exceeds a predetermined threshold, the PDLinterpretation unit 120 controls the interpretation result storage unit130 to execute the copy processing and the DL generation unit 150 togenerate a DL. In contrast, if the load Tr is the predeterminedthreshold or less, the PDL interpretation unit 120 controls theinterpretation result storage unit 130 not to execute the copyprocessing and the DL generation unit 150 to generate a DL.

Alternatively, for example, whether to copy an interpretation result maybe determined as follows, without calculating each of the processingcosts (loads Td, Tc, and Tr) described in the present exemplaryembodiment. If the interpretation result stored in the interpretationresult storage unit 130 has a data size that exceeds a predeterminedthreshold, the PDL interpretation unit 120 controls the interpretationresult storage unit 130 not to execute the copy processing and the DLgeneration unit 150 to generate a DL. In contrast, if the interpretationresult has a data size that corresponds to the predetermined thresholdor less, the PDL interpretation unit 120 controls the interpretationresult storage unit 130 to execute the copy processing and the DLgeneration unit 150 to generate a DL. In such a case, the predeterminedthreshold is used as the information for determining whether to copy theinterpretation result.

Alternatively, the determination may be made on the basis of the type ofthe rendering command or the type of the rendering object to be createdin accordance with the interpretation result. In such a case, a table isused in which certain types of rendering commands or rendering objectsamong the rendering command types or the rendering object types aredescribed. If a rendering command matches the table (if the type of therendering command matches a certain type), the PDL interpretation unit120 controls the interpretation result storage unit 130 not to executethe copy processing and the DL generation unit 150 to generate a DL. Incontrast, if the interpretation result does not match the table, the PDLinterpretation unit 120 controls the interpretation result storage unit130 not to execute the copy processing and the DL generation unit 150 togenerate a DL. In such a case, the table is used as the information fordetermining whether to copy the interpretation result. For example, whenthis table includes a shading rendering command, if the renderingcommand is a font rendering command, the interpretation result storageunit 130 executes the interpretation result copy processing. If therendering command is a shading rendering command, the interpretationresult storage unit 130 does not execute the interpretation result copyprocessing.

Other Exemplary Embodiments

While the interpretation result storage unit 130 and the buffer 143 areconfigured on different hardware modules in the printer controllersaccording to the above exemplary embodiments, the interpretation resultstorage unit 130 and the buffer 143 may be configured on a singlehardware module. In such a case, a single memory of the hardware module,such as a random access memory (RAM), can be configured to function as amemory having a fixed size storage area included in the interpretationresult storage unit 130 and a memory having a fixed-size storage areaincluded in the buffer 143. This is one of the other exemplaryembodiments.

Other exemplary embodiments will be described. In the printercontrollers according to exemplary embodiments, each of the processingfor interpreting PDL data, the processing for copying an interpretationresult, and the processing for generation a DL from the interpretationresult is executed by an independent and dedicated hardware module.However, general-purpose arithmetic units such as central processingunits (CPUs) may be allowed to execute the same processing as theprocessing executed by PDL interpretation unit 120, the interpretationresult storage unit 130, the buffer 143, and the DL generation unit 150according to the above exemplary embodiments.

For example, assuming that a printer controller has a read-only memory(ROM), a RAM, and two CPUs, one (CPU1) of the CPUs is configured toexecute the processing of the PDL interpretation unit 120, theinterpretation result storage unit 130, and the buffer 143. While theCPU1 is executing the above processing, another CPU (CPU2) is configuredto execute the processing of the DL generation unit 150. During theprocessing, the CPU1 reads a program for executing the processing of thePDL interpretation unit 120, the interpretation result storage unit 130,and the buffer 143 from the ROM and executes the program. In addition,the CPU2 reads a program for executing the processing of the DLgeneration unit 150 from the ROM and executes the program. In such acase, the RAM functions as a storage area for each of the interpretationresult storage unit 130 and the buffer 143. The storage area functioningas the interpretation result storage unit 130 and the storage areafunctioning as the buffer 143 do not overlap with each other.

In addition, this processing may be executed on the basis of threads perPDL command. In this way, it is possible to configure a printercontroller such that, while the CPU1 is interpreting a PDL command, theCPU2 can generate a DL from another interpretation result. Since theprocessing may be executed on the basis of threads, it is possible toconfigure the printer controller such that, while the CPU2 isinterpreting a PDL command, the CPU1 can generate a DL from anotherinterpretation result.

OTHER EMBODIMENTS

Embodiments of the present invention can also be realized by a computerof a system or apparatus that reads out and executes computer executableinstructions recorded on a storage medium (e.g., non-transitorycomputer-readable storage medium) to perform the functions of one ormore of the above-described embodiment(s) of the present invention, andby a method performed by the computer of the system or apparatus by, forexample, reading out and executing the computer executable instructionsfrom the storage medium to perform the functions of one or more of theabove-described embodiment(s). The computer may comprise one or more ofa central processing unit (CPU), micro processing unit (MPU), or othercircuitry, and may include a network of separate computers or separatecomputer processors. The computer executable instructions may beprovided to the computer, for example, from a network or the storagemedium. The storage medium may include, for example, one or more of ahard disk, a random-access memory (RAM), a read only memory (ROM), astorage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™,a flash memory device, a memory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2013-151655 filed Jul. 22, 2013, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. A display list generation apparatus comprising:an interpretation unit configured to interpret page description language(PDL) data and store an interpretation result of the PDL data in a firststorage unit; a copying unit configured to copy the interpretationresult stored in the first storage unit, into a second storage unit in acase where a data size of the interpretation result does not exceed apredetermined threshold, and not to copy the interpretation resultstored in the first storage unit, into the second storage unit in a casewhere a data size of the interpretation result exceeds the predeterminedthreshold; and a generation unit configured to generate a display listfrom the interpretation result stored in the first storage unit in acase where a data size of the interpretation result exceeds thepredetermined threshold and generate a display list from the copy of theinterpretation result stored in the second storage unit in a case wherethe data size of the interpretation result does not exceed thepredetermined threshold.
 2. The display list generation apparatusaccording to claim 1, wherein, in a case where data included in theinterpretation result stored in the first storage unit is a pointerindicating a memory address in the first storage unit in which otherdata included in the interpretation result is stored, when theinterpretation unit executes the copying, the interpretation unitchanges the memory address indicated by the pointer to a memory addressin the second storage unit in which the other data is stored.
 3. Thedisplay list generation apparatus according to claim 1, wherein theinterpretation unit suspends the interpretation of the PDL data and thestorage of the interpretation result in the first storage unit duringthe processing executed by the interpretation unit.
 4. The display listgeneration apparatus according to claim 1, wherein the interpretation ofthe PDL data by the interpretation unit and the generation of thedisplay list by the generation unit are executed asynchronously.
 5. Thedisplay list generation apparatus according to claim 1, wherein theinterpretation unit is a first central processing unit (CPU), thegeneration unit is a second CPU different from the first CPU, and theinterpretation unit interprets the PDL data while the generation unit isgenerating the display list.
 6. The display list generation apparatusaccording to claim 1, wherein the interpretation unit interprets the PDLdata per PDL command and stores an acquired interpretation result in thefirst storage unit by overwriting an older interpretation result per PDLcommand in a certain memory address in the first storage unit.
 7. Thedisplay list generation apparatus according to claim 1, furthercomprising: a rendering unit configured to render a bitmap image fromthe display list generated by the generation unit, wherein theinterpretation unit can interpret PDL data of a plurality of PDL types,wherein the interpretation result is data in a format that does notdepend on a PDL type, and wherein the display list is data in a formatthat can be processed by the rendering unit.
 8. The display listgeneration apparatus according to claim 1, further comprising: adetermination unit configured to determine whether the copying unitexecutes the copying on the basis of the interpretation result stored inthe first storage unit, wherein, in a case where the determination unitdetermines that the copying unit does not execute the copying, thecopying unit does not copy the interpretation result stored in the firststorage unit and the generation unit generates a display list from theinterpretation result stored in the first storage unit, and wherein, ina case where the determination unit determines that the copying unitexecutes the copying, the copying unit copies the interpretation resultstored in the first storage unit and stores the copy of theinterpretation result in the second storage unit and the generation unitgenerates a display list from the copy of the interpretation resultstored in the second storage unit.
 9. The display list generationapparatus according to claim 8, wherein, in a case where thedetermination unit determines that the copying unit does not execute thecopying, the interpretation unit suspends the interpretation of the PDLdata and the storage of the interpretation result in the first storageunit until the generation unit completes generation of a display listfrom the interpretation result stored in the first storage unit.
 10. Thedisplay list generation apparatus according to claim 8, wherein thedetermination unit determines whether the copying unit executes thecopying on the basis of a data size or type of the interpretation resultstored in the first storage unit.
 11. The display list generationapparatus according to claim 10, wherein, in a case where the data sizeof the interpretation result stored in the first storage unit exceedsthe predetermined threshold, the determination unit determines that thecopying unit does not copy the interpretation result stored in the firststorage unit, and wherein, in a case where the data size of theinterpretation result stored in the first storage unit does not exceedthe predetermined threshold, the determination unit determines that thecopying unit copies the interpretation result stored in the firststorage unit.
 12. The display list generation apparatus according toclaim 10, wherein, in a case where the data type of the interpretationresult stored in the first storage unit is not a predetermined type, thedetermination unit determines that the copying unit executes thecopying, and wherein, in a case where the data type of theinterpretation result stored in the first storage unit is thepredetermined type, the determination unit determines that the copyingunit does not execute the copying.
 13. The display list generationapparatus according to claim 8, wherein the determination unitcomprises: a first unit configured to calculate load required for thecopying executed by the copying unit on the basis of at least one of adata size and a data type of the interpretation result stored in thefirst storage unit; a second unit configured to calculate load requiredfor generation of a display list executed by the generation unit fromthe interpretation result stored in the first storage unit on the basisof at least one of the data size and the data type of the interpretationresult stored in the first storage unit; and a third unit configured todetermine that the copying unit does not execute the copying in a casewhere the calculated load required for the copying is larger than thecalculated load required for the generation of the display list anddetermine that the copying unit executes the copying in a case where thecalculated load required for the copying is not larger than thecalculated load required for the generation of the display list.
 14. Thedisplay list generation apparatus according to claim 13, furthercomprising: a fourth unit configured to calculate load required for thegeneration of the display list by the generation unit, from a copy ofthe interpretation result stored in the second storage unit on the basisof at least one of a data size and a data type of the copy of theinterpretation result stored in the second storage unit; and a fifthunit configured to determine whether a copy of an interpretation resultis stored in the second storage unit, wherein the determination unitdetermines, in a case where the fifth unit determines that no copy ofthe interpretation result is stored in the second storage unit, whetherthe copying unit executes the copying on the basis of the calculatedload required for the copying and the calculated load required for thegeneration of the display list by the generation unit, from theinterpretation result stored in the first storage unit, wherein, in acase where the determination unit determines that a copy of theinterpretation result is stored in the second storage unit and in a casewhere the calculated load required for the copying is larger than thecalculated load required for the generation of the display list by thegeneration unit, from the copy of the interpretation result stored inthe second storage unit, the determination unit determines that thecopying unit does not execute the copying, and wherein, in a case wherethe calculated load for the copying is not larger than the calculatedload required for the generation of the display list by the generationunit, from the copy of the interpretation result stored in the secondstorage unit, the determination unit determines that the copying unitexecutes the copying.
 15. The display list generation apparatusaccording to claim 1, wherein the first storage unit and the secondstorage unit are different storage areas in a single storage unit. 16.The display list generation apparatus according to claim 1, wherein aPDL command included in the PDL data is a rendering command specifying acurve, an interpretation result of the rendering command is data of aplurality of lines approximately representing the curve, and linesconnected to each other are linked with each other, and wherein adisplay list acquired from the interpretation result of the renderingcommand is data of a plurality of objects representing a counter of theplurality of lines.
 17. A display list generation method comprising:interpreting page description language (PDL) data; storing aninterpretation result of the PDL data in a first storage unit;generating, in a case where a data size of the interpretation resultexceeds a predetermined threshold, a display list from theinterpretation result stored in the first storage unit; copying, in acase where the data size of the interpretation result does not exceedthe predetermined threshold, the interpretation result stored in thefirst storage unit, into a second storage unit, and not to copy theinterpretation result stored in the first storage unit, into the secondstorage unit in a case where a data size of the interpretation resultexceeds the predetermined threshold; and generating a display list fromthe copy of the interpretation result stored in the second storage unit.18. A non-transitory computer readable medium storing a program whichcauses a computer to execute a display list generation method, themethod comprising: interpreting page description language (PDL) data;storing an interpretation result of the PDL data in a first storageunit; generating, in a case where a data size of the interpretationresult exceeds a predetermined threshold, a display list from theinterpretation result stored in the first storage unit; copying, in acase where the data size of the interpretation result does not exceedthe predetermined threshold, the interpretation result stored in thefirst storage unit, into a second storage unit, and not to copy theinterpretation result stored in the first storage unit, into the secondstorage unit in a case where a data size of the interpretation resultexceeds the predetermined threshold; and generating a display list fromthe copy of the interpretation result stored in the second storage unit.